private ["_ok", "_realpos"];

_ok = createDialog "XD_ParajumpDialog";
d_global_jump_pos = [];
onMapSingleClick "closeDialog 0;d_global_jump_pos = _pos;onMapSingleClick '';";
waitUntil {!dialog || !alive player};
if (alive player) then {
	if (count d_global_jump_pos > 0) then {
		_realpos = [d_global_jump_pos select 0,  d_global_jump_pos select 1, 3000];
		[_realpos] execVM 'scripts\HALO\HALOCreate.sqf';
	};
} else {
	if (dialog) then {closeDialog 0};
};
sleep 0.512;
onMapSingleClick "";
